﻿using System;
using System.Runtime.Serialization;
using MongoDB.Attributes;

namespace OMIP.HMS.Model
{
        /// <summary>
        /// 病人数据模型
        /// </summary>
        [DataContract]
        public class PatientModel : IIdentity
        {
                #region 基本属性

                /// <summary>
                /// 标识
                /// </summary>
                [MongoId]
                [DataMember]
                public String Id { get; set; }

                /// <summary>
                /// 姓名
                /// </summary>
                [DataMember]
                public String Name { get; set; }

                /// <summary>
                /// 性别
                /// </summary>
                [DataMember]
                public String SexType { get; set; }

                /// <summary>
                /// 民族
                /// </summary>
                [DataMember]
                public string Nation{ get; set; }

                /// <summary>
                /// 出生日期
                /// </summary>
                [DataMember]
                public string BirthdDate { get; set; }

                /// <summary>
                /// 身高
                /// </summary>
                [DataMember]
                public int Height { get; set; }
                
                /// <summary>
                /// 婚姻状况
                /// </summary>
                [DataMember]
                public int MarriageType { get; set; }

                /// <summary>
                /// 职业
                /// </summary>
                [DataMember]
                public int JobType { get; set; }

                /// <summary>
                /// 血型
                /// </summary>
                [DataMember]
                public string BloodType { get; set; }



                /// <summary>
                /// 付费方式
                /// </summary>
                [DataMember]
                public int PayType { get; set; }

                /// <summary>
                /// 证件类型
                /// </summary>
                [DataMember]
                public int CertificateType { get; set; }

                /// <summary>
                /// 证件号码
                /// </summary>
                [DataMember]
                public int CertificateNumber { get; set; }

                /// <summary>
                /// 家庭地址
                /// </summary>
                [DataMember]
                public int HomeAddress { get; set; }

                /// <summary>
                /// 电话
                /// </summary>
                [DataMember]
                public int Telephone { get; set; }

                /// <summary>
                /// 邮政编码
                /// </summary>
                [DataMember]
                public int Postcode { get; set; }

                /// <summary>
                /// 公司
                /// </summary>
                [DataMember]
                public int Corporate { get; set; }

                /// <summary>
                /// 联系人姓名
                /// </summary>
                [DataMember]
                public int ContactName { get; set; }

                /// <summary>
                /// 联系人电话
                /// </summary>
                [DataMember]
                public int ContactTelephone { get; set; }

                #endregion 基本属性

                

                #region 扩展属性

                #endregion
        }
}
